//
//  ParameterTableViewCell.swift
//  ZNZXSuperMarket
//
//  Created by 四川中农 on 2018/7/30.
//  Copyright © 2018年 四川中农. All rights reserved.
//

import UIKit

class ParameterTableViewCell: UITableViewCell {
    
    
    @IBOutlet weak var gradeLabel: UILabel! // 等级
    @IBOutlet weak var stockpileTypeLabel: UILabel! // 储存方式
    @IBOutlet weak var pingjiLabel: UILabel! // 品级
    @IBOutlet weak var depositLabel: UILabel!//储藏方式
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    func reloadWith(model:SiteGoodsModel){
        self.gradeLabel.text = model.level
        self.stockpileTypeLabel.text = model.storageMode
        self.depositLabel.text = model.hideMode
        self.pingjiLabel.text = model.varieties
    }

}
